
package com.feib.soeasy.dao;

import java.util.ArrayList;
import java.util.Date;

import com.feib.soeasy.model.Group;
import com.feib.soeasy.model.Payment;
import com.feib.soeasy.model.PaymentCanceled;
import com.feib.soeasy.pagination.PaginatedList;


/**
 * @title (#)PaymentCanceledDao.java<br>
 * @description <br>
 * @author Jimmy Liu<br>
 * @version 1.0.0 2010/11/25
 * @copyright Far Eastern International Bank Copyright (c) 2010<br>
 * @2010/12/1 create by Jimmy Liu<br>
 */
public interface PaymentCanceledDao  extends HibernateDao<PaymentCanceled, Long>{

    /**
     * 找出註銷待放行資料
     * @param payment 鎖定哪一張繳費單
     * @param group 放行人員所屬帳單業者(要與放行人員所屬帳單業者相同)
     * @param cancelDateFrom 註銷日期起
     * @param cancelDateTo 註銷日期迄
     * @param paginationConfig 換頁條件
     * @return
     */
    public PaginatedList<PaymentCanceled> queryUnConfirm(Payment payment, Group group, Date cancelDateFrom, Date cancelDateTo, PaginatedList<Payment> paginationConfig);
    
	public void updateConfirm(ArrayList<Payment> payment, Boolean confirmStatus);
}
